From: Benjamin Otte Date: Fri, 19 Aug 2022 00:38:11 +0000 (+0200) Subject: gdk: Plug a memleak X-Git-Tag: archive/raspbian/4.8.3+ds-2+rpi1~3^2~20^2~3^2~76^2 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=248e33e3c98933c4afe43b81512ec4cbf11be7b6;p=gtk4.git gdk: Plug a memleak Free GdkIOPipe struct when freeing it Don't just free all its members. Fixes #5110 --- diff --git a/gdk/gdkpipeiostream.c b/gdk/gdkpipeiostream.c index fe5a77e168..55221603bf 100644 --- a/gdk/gdkpipeiostream.c +++ b/gdk/gdkpipeiostream.c @@ -75,6 +75,8 @@ gdk_io_pipe_unref (GdkIOPipe *pipe) g_cond_clear (&pipe->cond); g_mutex_clear (&pipe->mutex); + + g_slice_free (GdkIOPipe, pipe); } static void